package com.tanklab.signature.service;

import com.tanklab.signature.ds.resp.CommonResp;
import com.tanklab.signature.ds.resp.vo.TokenRefreshVo;

import javax.servlet.http.HttpServletRequest;

public interface WeChatAuthService {
    CommonResp<TokenRefreshVo> login(String code);
    CommonResp<TokenRefreshVo> refreshToken(String refreshToken);
    String getOpenidFromToken(String token);
    // Deprecated
//    CommonResp logout(HttpServletRequest request);
}
